package old.day20190321.dbutils;

import java.sql.Date;

/**
 * @author DingZhenYun
 * @create 2019-03-21 16:57
 */
public class Customer {
    private Integer id;
    private String name;
    private String emial;
    private Date birth;

    public Customer() {
    }

    @Override
    public String toString() {
        return "Customer{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", emial='" + emial + '\'' +
                ", birth=" + birth +
                '}';
    }

    public Customer(Integer id, String name, String emial, Date birth) {
        this.id = id;
        this.name = name;
        this.emial = emial;
        this.birth = birth;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getEmial() {
        return emial;
    }

    public void setEmial(String emial) {
        this.emial = emial;
    }

    public Date getBirth() {
        return birth;
    }

    public void setBirth(Date birth) {
        this.birth = birth;
    }
}
